#include "widget.h"
#include "ui_widget.h"

#include <QDebug>
Widget::Widget(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::Widget)
{
    ui->setupUi(this);
}

Widget::~Widget()
{
    delete ui;
}



void Widget::on_bet_set_clicked()
{
    ui->widget->setVal(50);
}



void Widget::on_btn_get_clicked()
{
  qDebug()<<  ui->widget->getVal();
}
